package com.wxzhou.wangzhuan.dto;

import org.eclipse.microprofile.openapi.annotations.media.Schema;

import java.io.Serializable;

/**
 * 用户信息DTO
 */
@Schema(description = "用户详细信息", example = "{\"userId\":\"user123\",\"username\":\"testuser\",\"nickName\":\"测试用户\",\"deviceId\":\"device_123456\"}")
public class UserInfoDto implements Serializable {

    @Schema(description = "用户ID", example = "user123")
    private Long userId;
    @Schema(description = "昵称", example = "测试用户")
    private String nickName;
    @Schema(description = "设备ID", example = "device_123456")
    private String deviceId;
    //app渠道标识:app_channel
    private String channel;
    @Schema(description = "用户等级", example = "1")
    private Integer userLevel;  // mac_group.level

    public UserInfoDto() {
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }
}